//package org.qiyu.live.gateway.xss;
//
//
//import javax.servlet.*;
//import javax.servlet.annotation.WebFilter;
//import javax.servlet.http.HttpServletRequest;
//import java.io.IOException;
//
//@WebFilter(urlPatterns = "/*")
//public class XssFilter implements Filter {
//    public void init(FilterConfig config) throws ServletException {}
//    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
//        XssHttpServletRequestWrapper xssRequest = new XssHttpServletRequestWrapper((HttpServletRequest) request);
//        chain.doFilter(xssRequest, response);
//    }
//
//    @Override
//    public void destroy() {}
//}
//
